import {
	createApp
} from 'vue';
import ElementPlus from 'element-plus';
import 'element-plus/dist/index.css';
import App from './App.vue';
//引入路由器
import router from './router';
import store from './store';
import 'amfe-flexible';

router.beforeEach((to, from, next) => {
	window.document.title = to.meta.title == undefined ? 'IC China 博览会' : to.meta.title
	next();
})

const app = createApp(App)
app.use(ElementPlus)
app.use(router)
app.use(store)
app.mount('#app')